<div xmlns:py="http://purl.org/kid/ns#"> 
    <div py:for="field in hidden_fields"
        py:replace="field.display(value_for(field), **params_for(field))"
    />
    <table id="${name}" class="grid" cellpadding="0" cellspacing="1" border="1">
        <tr>
            <th py:for="i, col in enumerate(columns)" class="col_${i}">
                ${col.title}
            </th>
        </tr>
        <tr py:for="i, row in enumerate(value)" class="row_${i}">
            <td py:for="col in columns" class="row_${i}">
                <div py:replace="col.getter(row).display(value_for(col.getter(row)), **params_for(col.getter(row)))" />
            </td>
        </tr>
    </table>
</div>

